package com.ejlchina.tool.network


//    var DEFAULT_DOMAIN = "jfq"// 测试环境、开发环境
//分必得正式环境
//    const val BASE_URL_PROD_LOGIN = "https://api-cloud.eiotyun.com/"//正式
//    const val WEB_SOCKET_PROD = "ws://test-wss-cloud.eiotyun.com:81/ws"

//测试环境
    const val BASE_URL_TEST_LOGIN = "https://test-api-cloud.eiotyun.com:83/"
//    const val WEB_SOCKET_TEST = "ws://test-wss-cloud.eiotyun.com:81/ws"
//开发环境
const val BASE_URL_TEST = "https://dev-api-cloud.eiotyun.com:83/"
//    const val WEB_SOCKET_TEST = "wss://dev-wss-cloud.eiotyun.com:83/ws"



const val DEFAULT_DOMAIN_UPDATE = "ejlchina"
const val DEFAULT_IS_TEST = false

const val BASE_URL_PROD_UPDATE = "https://api-cloud.eiotyun.com/"
const val BASE_URL_TEST_UPDATE = "https://test-api-cloud.eiotyun.com:81/"

/**
 * 登录接口
 */
const val SIGN_IN = "/auth/admin/login"

/**
 * 当 Token 快过期时，调用该接口来刷新 Token
 */
const val TOKEN_REFRESH = "/auth/access-token"

/**
 * 获取支付二维码
 */
const val GET_QR_CODE = "/api/dc-app-api/pay-record/pay-url"

/**
 * 获取订单状态
 */
const val GET_ORDER_STATUS = "/api/dc-app-api/pay-record/order-status"

/**
 * 出袋结果
 */
const val OUT_RESULT = "/api/dc-app-api/pay-record/out-result"

/**
 * 获取实例化信息，包括Banner视频地址，企业logo，塑料袋价格等
 */
const val INIT_DATA = "/api/dc-app-api/propaganda/propaganda"

/**
 * 硬钱包生成订单接口
 */
const val GENERATE_ORDER = "/api/dc-app-api/pay-record/generate-order"

/**
 * 修改袋子价格
 */
const val CHANGE_POCKET_PRICE = "/api/dc-app-api/propaganda/set-amount"

/**
 * 获取袋子价格
 */
const val GET_POCKET_PRICE = "/api/dc-app-api/propaganda/get-price"

/**
 * 获取服务器最新版本号
 */
const val GET_VERSION = "/api/common-api/app-version/latest"

/**
 * 向服务器上报版本名称
 */
const val UPLOAD_VERSION_NAME = "/api/dc-app-api/propaganda/set-version"